package com.hroa.web.vo;

/**
 * Created by Hays on 14/11/9.
 */
public interface StatusInfo {
    String REQUEST_SUCCESS             = "1";
    String REQUEST_FAILURE             = "0";
    String REQUEST_NOT_LOGIN           = "403";

    String REQUEST_SUCCESS_MSG         = "成功";
    String REQUEST_FAIL_MSG         = "失败";
    String REQUEST_FAILURE_MSG         = "服务访问失败，请稍后重试";
    //通用
    String FAILURE_PARAM_NULL          = "必要参数为空";
    String FAILURE_RESULT_NULL          = "结果为空";
    //登录
    String FAILURE_MSG_LOGIN_FAILURE   = "登录失败";
    String FAILURE_MSG_MOBILE_NULL     = "手机号为空";
    String FAILURE_MSG_MOBILEPASS_NULL = "手机号或密码为空";
    String FAILURE_MSG_MOBILECODE_NULL = "手机号或验证码为空";
    String FAILURE_MSG_CONFIG_NULL     = "配置数据为空";
    String FAILURE_MSG_USERID_NULL     = "用户Id为空";

    //配置
    String FAILURE_ANNLEAVE_NULL       = "年假天数不能为空，且只能为数字！";
    String FAILURE_ANNLEAVE_VALIDITY   = "年假有效期不能为空，只能为数字，且不能小于12个月！";
    String FAILURE_FILLIN_NULL         = "配置不能为空，且只能为数字！";

    //部门
    String FAILURE_ADD                 = "新增部门失败";
    String FAILURE_MODIFY              = "修改部门失败";
    String FAILURE_HAS_EMPLOYEE        = "还有下级部门或者部门下还有人";

    //用户
    String FAILURE_NO_USER_INFO        = "没找到用户信息";
    String FAILURE_CHECK_TOKEN         = "token/Session校验失败";
    String FAILURE_USER_EXIST = "手机号码对应的员工账号已存在";
    String FAILURE_IDENTITY_EXIST = "身份证号码对应员工账号已存在";
    String FAILURE_USER_CREATE = "员工账号创建失败,请稍后重试";
    
    //群发消息
    String FAILURE_NOTICE_CREATE         = "消息发送失败";
    
    //时间
    String FAILURE_MONTH_ERROR         = "月份处理出错";
}
